/**
 * @file ib_virtual_data_switch.hh
 * @author Haichao Yang (hcyang@umich.edu)
 * @brief Switch for virtual data
 * @date 2021-02-27
 * 
 * @copyright Copyright (c) 2021
 * 
 */
#pragma once
#include <omnetpp.h>
#include "ib_virtual_app.h"

class IB_Virtual_Data_Switch : public omnetpp::cSimpleModule
{
    protected:
    virtual void initialize() override {};
    /**
     * @brief Forwards virtual wire message to destination
     * 
     * @param msg 
     */
    virtual void handleMessage(omnetpp::cMessage* msg) override;
    virtual void finish() override {};
};
